package com.huiminpay.merchant.convert;
import com.huiminpay.merchant.dto.MerchantDto;
import com.huiminpay.merchant.vo.MerchantRegisterVo;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;
@Mapper
public interface MerchantDetailRegisterConvert {
    MerchantDetailRegisterConvert INSTANCE= Mappers.getMapper(MerchantDetailRegisterConvert.class);
    MerchantRegisterVo merchantDto2Vo(MerchantDto merchantDto);
    MerchantDto merchantVo2Dto(MerchantRegisterVo registerVo);
    List<MerchantRegisterVo> listDto2Vo(List<MerchantDto> merchantDtos);
}
